<?php /* Smarty version Smarty-3.0.7, created on 2012-07-03 15:34:00
         compiled from "D:\wamp\www/template/templates\shipyard/index.tpl" */ ?>
<?php /*%%SmartyHeaderCode:319114ff2a068343b08-36586530%%*/if(!defined('SMARTY_DIR')) exit('no direct access allowed');
$_smarty_tpl->decodeProperties(array (
  'file_dependency' => 
  array (
    '59a28d3a362db570d74755ae2cfafd6ee6c9ffde' => 
    array (
      0 => 'D:\\wamp\\www/template/templates\\shipyard/index.tpl',
      1 => 1341210710,
      2 => 'file',
    ),
  ),
  'nocache_hash' => '319114ff2a068343b08-36586530',
  'function' => 
  array (
  ),
  'has_nocache_code' => false,
)); /*/%%SmartyHeaderCode%%*/?>
<?php if (!is_callable('smarty_modifier_truncate')) include 'D:\wamp\www\library\package\smarty\plugins\modifier.truncate.php';
if (!is_callable('smarty_modifier_date_format')) include 'D:\wamp\www\library\package\smarty\plugins\modifier.date_format.php';
?><!DOCTYPE html>
<html lang="zh-CN" dir="ltr">
<head>
    <title>船厂订单-<!--#include virtual='/data/seo/public.title.seo'--></title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8" />
    <meta name="keywords" content="" />
    <meta name="description" content="" />
    <link rel="stylesheet" href="/styles/public.css" />
    <link rel="stylesheet" href="/styles/ship.css" />
    <script type="text/javascript" src="/scripts/jquery-1.7.1.min.js"></script>
    <script type="text/javascript" src="/scripts/apps/shipyard/imagerollover.js"></script>
	<script type="text/javascript" src="/scripts/jquery.plugins/province_city.js"></script>
	<script type="text/javascript" src="/scripts/apps/shipyard/index.js"></script>
</head>

<body>
    <div id="bg_all">
        <!--#include virtual="/template.inset/public.header.shtml"-->
        <div class="clear10"></div>
        <?php $_template = new Smarty_Internal_Template("shipyard/public.menu.tpl", $_smarty_tpl->smarty, $_smarty_tpl, $_smarty_tpl->cache_id, $_smarty_tpl->compile_id, null, null);
 echo $_template->getRenderedTemplate();?><?php unset($_template);?>
        <div class="wrcp clear">
            <div class="ship_top_l">
                <div  class="purchase"><h2>采购船厂</h2></div>
                <div class="shan">
                    <SCRIPT language="javascript">
                        var m_nPageInitTime = new Date();
                        var MainTopRoll = new xwzRollingImageTrans("IMG_MAIN_TOP_ROLL_DETAIL", "IMGS_MAIN_TOP_ROLL_THUMBNAIL");
                        MainTopRoll.addItem("#","images/shower_01.jpg");
                        MainTopRoll.addItem("#","images/shower_02.jpg");
                        MainTopRoll.addItem("#","images/shower_03.jpg");

                    </SCRIPT>

                    <TABLE cellSpacing=0 cellPadding=0 width=310 align=center>
                        <TBODY>
                            <TR>
                                <TD id=IDS_DIV_MAIN_TOP_ROLL_DETAIL width=238 height=173><IMG 
                                        class=clssMainRoll height=173 
                                        src="/images/shower_01.jpg" 
                                        width=238 border=0 name=IMG_MAIN_TOP_ROLL_DETAIL></TD>
                                <!--
    <TD width=283 bgcolor="#F4F4F4" style="DISPLAY: none">
    -->
                                <TD width=283 ><TABLE cellSpacing=0 cellPadding=0 align=center>
                                        <TBODY>
                                            <TR>
                                                <TD align=right ><IMG style="DISPLAY: none" 
                                                                      height=5 src="" width=9 align=absMiddle border=0 
                                                                      name=IMGS_MAIN_TOP_ROLL_THUMBNAIL><IMG 
                                                                      style="CURSOR: pointer" onclick=MainTopRoll.alterImage(0) 
                                                                      src="/images/mini_01.jpg" width="58" height="50" 
                                                                      border=0></TD>
                                            </TR>
                                            <TR>
                                                <TD align=right ><IMG style="DISPLAY: none" 
                                                                      height=5 src="" width=9 align=absMiddle border=0 
                                                                      name=IMGS_MAIN_TOP_ROLL_THUMBNAIL><IMG 
                                                                      style="CURSOR: pointer;" onclick=MainTopRoll.alterImage(1) 
                                                                      src="/images/mini_02.jpg"  class="ing" width="58" height="50"
                                                                      border=0></TD>
                                            </TR>
                                            <TR>
                                                <TD align=right ><IMG style="DISPLAY: none" 
                                                                      height=5 src="" width=9 align=absMiddle border=0 
                                                                      name=IMGS_MAIN_TOP_ROLL_THUMBNAIL><IMG 
                                                                      style="CURSOR: pointer;" onclick=MainTopRoll.alterImage(2) 
                                                                      src="/images/mini_03.jpg"  class="ing" width="58" height="50"
                                                                      border=0></TD>
                                            </TR>

                                        </TBODY>
                                    </TABLE></TD>
                            </TR>
                        </TBODY>
                    </TABLE>
                    <SCRIPT language=JavaScript>
                        MainTopRoll.Index =  parseInt('0');
                        MainTopRoll.install();
                    </SCRIPT>
                </div>
            </div>

            <div class="ship_top_l " style="margin-left:8px">
                <div  class="purchase"><h2>最新加入船厂</h2><span><a href="/exec.php?action=shipyard_account_list" target="_blank">
                	<img src="/images/more_ico.gif" alt=""></a></span></div>
                <ul>
	                <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Accounts')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                    <li><a href="/exec.php?action=store_index&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['CompanyName'],30,"..");?>
</a></li>
                    <?php }} ?>
                </ul>
                <div class="clearfloat"></div>
            </div>
            <div class="ship_top_r">
                <div class="btn_box key4">
                    <a href="/exec.php?action=account_register_first" target="_blank"><img src="/images/exch_r_btn01.gif" alt=""></a><a href="/exec.php?action=account_register_first"><br>免费申办采购会</a><br>坐等供应商专业报价
                </div>
                <div class="btn_box key4">
                    <a href="/exec.php?action=account_register_first" target="_blank"><img src="/images/exch_r_btn02.gif" alt=""></a><a href="/exec.php?action=account_register_first"><br>报名参加采购会</a><br>第一时间查看采购需求
                </div>
            </div>

        </div>

        <div class="invest_pic clear">
            <a href="http://shipinall.cn/Magazine.asp" target="_blank"><img src="images/readonline.jpg" width="960" height="60" /></a>
        </div>

        <div class="wrcp clear">
            <div class="ship_order"><div class="od"> <h2>船厂订单</h2><span><a href="/exec.php?action=shipyard_ordersheet" target="_blank"><img src="/images/more_ico.gif" alt=""></a></span></div>
                <table width="100%" border="0" class="seq_table" cellpadding="0" cellspacing="1">
                    <tr>
                        <th>序号</th>
                        <th>订单名称</th>
                        <th>船厂名称 </th>
                        <th>船东名称</th>
                        <th>船东国籍</th>
                        <th>船舶类型</th>
                        <th>订造数量</th>
                        <th>交付时间</th>
                        <th>详细内容</th>
                    </tr>
                    <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Shipyard_Index_Ordersheet')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["Shipyard_Index_Ordersheet"]['index']=-1;
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
 $_smarty_tpl->tpl_vars['smarty']->value['foreach']["Shipyard_Index_Ordersheet"]['index']++;
?>
                    <?php if (!(1 & $_smarty_tpl->getVariable('smarty')->value['foreach']['Shipyard_Index_Ordersheet']['index'])){?>
                    <tr>
                        <td class="tdw" width="60"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['Shipyard_Index_Ordersheet']['index']+1;?>
</td>
                        <?php if ($_smarty_tpl->getVariable('IsLogin')->value=="TRUE"){?>
                            <td class="tdw" width="160"><?php echo $_smarty_tpl->getVariable('Row')->value['Title'];?>
</td>
                            <td class="tdw" width="130"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipyard_Name'];?>
</td>
                            <td class="tdw" width="130"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipowner_Name'];?>
</td>                            
                        <?php }else{ ?>
                            <td class="tdw" width="160">您好用户，此信息登录后</td>
                            <td class="tdw" width="130">才能查看，请您<a href="/exec.php?action=account_register_first" target="_blank" >注册</a></td>
                            <td class="tdw" width="130">或者<a href="/exec.php?action=account_login_login" target="_blank" >登录</a>，谢谢！</td>                    
                        <?php }?>
                        <td class="tdw" width="86"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipyard_Nationality'];?>
</td>
                        <td class="tdw" width="115" style="text-align:left"><?php echo $_smarty_tpl->getVariable('Row')->value['ShipType'];?>
</td>
                        <td class="tdw" width="90"><?php echo $_smarty_tpl->getVariable('Row')->value['Amount'];?>
</td>
                        <td class="tdw" width="90"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['GiveDatetime'],"Y");?>
年</td>
                        <td class="tdw redf0" width="90">
                        	<?php if ($_smarty_tpl->getVariable('IsLogin')->value=="TRUE"){?>
	                        	<a href="<?php echo $_smarty_tpl->getVariable('Row')->value['URL'];?>
" target="_blank" >详细</a>
                            <?php }else{ ?>
                            	<span style="color:gray; text-decoration:none;">详细</span>
                            <?php }?>     
                        </td>
                    </tr>
					<?php }else{ ?>
                    <tr>
                        <td class="tdb" width="60"><?php echo $_smarty_tpl->getVariable('smarty')->value['foreach']['Shipyard_Index_Ordersheet']['index']+1;?>
</td>
                        <?php if ($_smarty_tpl->getVariable('IsLogin')->value=="TRUE"){?>
                            <td class="tdb" width="160"><?php echo $_smarty_tpl->getVariable('Row')->value['Title'];?>
</td>
                            <td class="tdb" width="130"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipyard_Name'];?>
</td>
                            <td class="tdb" width="130"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipowner_Name'];?>
</td>    
                        <?php }else{ ?>
                            <td class="tdb" width="160">您好用户，此信息登录后</td>
                            <td class="tdb" width="130">才能查看，请您<a href="/exec.php?action=account_register_first" target="_blank" >注册</a></td>
                            <td class="tdb" width="130">或者<a href="/exec.php?action=account_login_login" target="_blank" >登录</a>，谢谢！</td>                                               
                        <?php }?>
                        <td class="tdb" width="86"><?php echo $_smarty_tpl->getVariable('Row')->value['Shipyard_Nationality'];?>
</td>
                        <td class="tdb" width="115" style="text-align:left"><?php echo $_smarty_tpl->getVariable('Row')->value['ShipType'];?>
</td>
                        <td class="tdb" width="90"><?php echo $_smarty_tpl->getVariable('Row')->value['Amount'];?>
</td>
                        <td class="tdb" width="90"><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['GiveDatetime'],"Y");?>
年</td>
                        <td class="tdb redf0" width="90">
                        	<?php if ($_smarty_tpl->getVariable('IsLogin')->value=="TRUE"){?>
	                        	<a href="<?php echo $_smarty_tpl->getVariable('Row')->value['URL'];?>
" target="_blank" >详细</a>
                            <?php }else{ ?>
                            	<span style="color:gray; text-decoration:none;">详细</span>
                            <?php }?>                        
                        </td>
                    </tr>
                    <?php }?>
                    <?php }} ?>
                </table>
            </div>

        </div>











        <div class="clear10"></div>
        <div class="wrcp clear">
            <div class="ship_box666">
                <div class="ship_lbox">
                    <div class="ship_llist">
                        <div class="hd">
                            <h2>船厂订单</h2><span><a href="/exec.php?action=news_list&type=subclass&id=<?php echo $_smarty_tpl->getVariable('NewsClass_ShipyardOrdersheet_ID')->value;?>
" target="_blank">
                            <img src="/images/more_ico.gif" alt=""></a></span>
                        </div>                        
                        <ul>
                        	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Shipyard_Index_ShipyardOrdersheet')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                            <li><span><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
</span>
                            <a href="/exec.php?action=news_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank"><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],20,"..",true);?>
</a></li>
							<?php }} ?>
                        </ul>

                    </div>

                </div>
                <div class="ship_lbox ml8">
                    <div class="ship_llist">
                        <div class="hd">
                            <h2>船厂动态</h2><span><a href="/exec.php?action=news_list&type=subclass&id=<?php echo $_smarty_tpl->getVariable('NewsClass_ShipyardTrends_ID')->value;?>
" target="_blank"><img src="/images/more_ico.gif" alt=""></a></span>
                        </div>
                        <ul>
                        	<?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Shipyard_Index_News_ShipyardTrends')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>                            
                            <li><span><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
</span><a href="/exec.php?action=news_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_blank">
                            <?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],20,"..",true);?>
</a></li>
							<?php }} ?>
                        </ul>

                    </div>

                </div>
                <div class="invest_pic666 pt10"><a href="#" target="_blank"><img src="/images/in_pic666.gif" alt=""></a></div> </div>
            <div class="r_search_box"  style="margin-left:8px">
                <div class="bd"><h2>订单查询</h2> </div>
                <div class="rsbox" style="height:268px" >

                        <div class="ship">
                            <label>船厂名称：</label><input name="Ordersheet_ShipyardName" type="text" class="input150" id="Ordersheet_ShipyardName">
                        </div>
                        <div class="ship">
                            <label>船东名称：</label><input name="Ordersheet_ShipownerName" type="text" class="input150" id="Ordersheet_ShipownerName">
                        </div>
                        <div class="ship">
                            <label>船东国籍：</label><input name="Ordersheet_ShiponwerNationality" type="text" class="input150" id="Ordersheet_ShiponwerNationality">
                        </div>
                        <div class="ship">
                            <label>船舶类型：</label><input name="Ordersheet_ShipType" type="text" class="input150" id="Ordersheet_ShipType">
                        </div>
                        <div class="ship">
                            <label>订造数量：</label><input name="Ordersheet_Amount" type="text" class="input150" id="Ordersheet_Amount">
                        </div>
                        <div class="ship">
                            <label>交付时间：</label><select name="Ordersheet_GiveDatetime_Year"  class="input60" id="Ordersheet_GiveDatetime_Year"  >
                        <option value="0">选择年份</option> 
                        <option value="2000">2000</option>
                        <option value="2001">2001</option>
                        <option value="2002">2002</option>
                        <option value="2003">2003</option>
                        <option value="2004">2004</option>
                        <option value="2005">2005</option>
                        <option value="2006">2006</option>
                        <option value="2007">2007</option>
                        <option value="2008">2008</option>
                        <option value="2009">2009</option>
                        <option value="2010">2010</option>
                        <option value="2011">2011</option>
                        <option value="2012">2012</option>
                        <option value="2014">2014</option>
                        <option value="2015">2015</option>
                        <option value="2016">2016</option>
                        <option value="2017">2017</option>
                        <option value="2018">2018</option>
                        <option value="2019">2019</option>
                        <option value="2020">2020</option>
                        <option value="2021">2021</option>
                        <option value="2022">2022</option>                                                                                                                                                                                                                                                           
                        <option value="2023">2023</option>
                        <option value="2024">2024</option>
                        <option value="2025">2025</option>                              
                            </select><select name="Ordersheet_GiveDatetime_Month"  class="input60" id="Ordersheet_GiveDatetime_Month" style="margin-left:10px" >                                                        
             	<option value="0">选择月份</option>
									<option value="1">1</option>
                                    <option value="2">2</option>
                                    <option value="3">3</option>
                                    <option value="4">4</option>
                                    <option value="5">5</option>
                                    <option value="6">6</option>
                                    <option value="7">7</option>
                                    <option value="8">8</option>
                                    <option value="9">9</option>
                                    <option value="10">10</option>
                                    <option value="11">11</option>
                                    <option value="12">12</option>                              
                            </select>
                        </div>
                    <div class="ship" >
                            <label>发布时间：</label><select name="Ordersheet_Datetime_Year"  class="input60" id="Ordersheet_Datetime_Year"  >
                        <option value="0">选择年份</option> 
                        <option value="2000">2000</option>
                        <option value="2001">2001</option>
                        <option value="2002">2002</option>
                        <option value="2003">2003</option>
                        <option value="2004">2004</option>
                        <option value="2005">2005</option>
                        <option value="2006">2006</option>
                        <option value="2007">2007</option>
                        <option value="2008">2008</option>
                        <option value="2009">2009</option>
                        <option value="2010">2010</option>
                        <option value="2011">2011</option>
                        <option value="2012">2012</option>
                        <option value="2014">2014</option>
                        <option value="2015">2015</option>
                        <option value="2016">2016</option>
                        <option value="2017">2017</option>
                        <option value="2018">2018</option>
                        <option value="2019">2019</option>
                        <option value="2020">2020</option>
                        <option value="2021">2021</option>
                        <option value="2022">2022</option>                                                                                                                                                                                                                                                           
                        <option value="2023">2023</option>
                        <option value="2024">2024</option>
                        <option value="2025">2025</option>                               
                            </select><select name="Ordersheet_Datetime_Month"  class="input60" id="Ordersheet_Datetime_Month" style="margin-left:10px" >
                    <option value="0">选择月份</option> 
                    <option value="1">1</option>
                    <option value="2">2</option>
                    <option value="3">3</option>
                    <option value="4">4</option>
                    <option value="5">5</option>
                    <option value="6">6</option>
                    <option value="7">7</option>
                    <option value="8">8</option>
                    <option value="9">9</option>
                    <option value="10">10</option>
                    <option value="11">11</option>
                    <option value="12">12</option>                              
                            </select>
                        <input name="Ordersheet_Button"  type="image"  class="btn" id="Ordersheet_Button" src="/images/exhi_china_btn.gif">
                        </div>
                    
                </div>



            </div>
        </div>
        <div class="wrcp clear">
            <div class="ship_map_box">
                <div class="md">
                    <h2>省份查询</h2>
                </div>

                <div class="map_box_l">
                   
                    <p class="fd" >按区域查找</p>
                        <select name="Area_Province"  class="input80" id="Area_Province" ><option >选择省份</option> </select>
                    <select name="Area_City"  class="input80" id="Area_City" ><option >选择城市</option> </select>
                        <input name="Area_Button"  type="image"  class="sbtn" id="Area_Button"  src="/images/ship_map_sbtn.gif">

                    <div class="clearfloat"></div>
                </div>
                <div class="map_box_r"><img src="/images/ship_map.jpg" alt="" border="0" ></div>

            </div>  
            <div class="pro_tj ml8 mt10"  >
                <div class="hd">
                    <h2>船厂采购推荐</h2>
                    <span><a href="/exec.php?action=ancillary_procurement_list&type=shipyard_recommend"><img src="/images/more_ico.gif" alt=""></a></span>
                </div>
                <?php  $_smarty_tpl->tpl_vars["Row"] = new Smarty_Variable;
 $_from = ($_smarty_tpl->getVariable('Shipyard_Index_ShipyardProcurementRecommend')->value); if (!is_array($_from) && !is_object($_from)) { settype($_from, 'array');}
if ($_smarty_tpl->_count($_from) > 0){
    foreach ($_from as $_smarty_tpl->tpl_vars["Row"]->key => $_smarty_tpl->tpl_vars["Row"]->value){
?>
                <div class="bd">
                    <div class="left">
                        <div class="img"><a href="" >
                        <img src="<?php echo $_smarty_tpl->getVariable('Row')->value['ThumbnailPath'];?>
" onerror="this.src='/images/cha_prolist_pic01.gif';" width="133" height="133"/></a> </div>
                    </div>
                    <div class="right">
                        <ul>
                            <li  class="f14"><a href="/exec.php?action=transaction_procurement_info&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
"><strong><?php echo smarty_modifier_truncate($_smarty_tpl->getVariable('Row')->value['Title'],15,"..");?>
</strong> </a> </li>
                            <li><span class="blue036">产品规格：</span><?php echo $_smarty_tpl->getVariable('Row')->value['Norms'];?>
</li>
                            <li><span class="blue036">产&nbsp;&nbsp;&nbsp;&nbsp;地：</span><?php echo $_smarty_tpl->getVariable('Row')->value['Origin'];?>
 </li>
                            <li><span class="blue036">数&nbsp;&nbsp;&nbsp;&nbsp;量：</span><?php echo $_smarty_tpl->getVariable('Row')->value['Amount'];?>
台</li>
                            <li><span class="blue036">截止日期：</span><?php echo smarty_modifier_date_format($_smarty_tpl->getVariable('Row')->value['Datetime'],"%Y-%m-%d");?>
 </li>
                            <!--<li><a href="#/exec.php?action=procurment_enquiry_add&id=<?php echo $_smarty_tpl->getVariable('Row')->value['ID'];?>
" target="_self"><img src="/images/ex_pur_btn01.gif" alt=""></a></li>-->
                        </ul>
                    </div>
                </div>
                <hr>
    			<?php }} ?>
            </div>
            <div class="invest_pic clear"><img src="/images/caigou_lc.gif" alt="" border="0" usemap="#Map">
                <map name="Map">
                    <area shape="rect" coords="442,66,525,93" href="/exec.php?action=account_register_first" target="_blank">
                </map>
            </div>
            
            <!--#include virtual="/template.inset/public.footer.shtml"-->
    </div>
    </div>
</body>
</html>